package net.pimpas.report.processor.exception;

import net.pimpas.report.processor.field.Field;
import net.pimpas.validation.exception.ValidationException;

public class FieldValidationException extends ValidationException {

	private static final long serialVersionUID = -2666655862736350631L;
	
	private Field field;
	private String message;
	
	public FieldValidationException(Field field, String message) {
		this.setField(field);
		this.setMessage(message);
	}
	
	public Field getField() {
		return field;
	}
	public void setField(Field field) {
		this.field = field;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}